import {createRouter, createWebHashHistory, Router, RouteRecordRaw} from "vue-router";

const routes: RouteRecordRaw[] = [
    {
        path: '/dashboard',
        component: () => import("@/views/dashboard/dashboard.vue")
    },
    {
        path: '/user',
        component: () => import("@/views/user/user.vue")
    },
    {
        path: '/orders',
        component: () => import("@/views/orders/orders.vue")
    }
]

export const router: Router = createRouter({
    history: createWebHashHistory(),
    routes
});